package com.yuhs.zixing.study.design.pattern.dp002.create.c004.builder.b001;

/**
 * @description:
 * @author: yuhs
 * @date: 2022/4/29 8:44 AM
 */
public abstract class AbstractHouse001 {

    /**
     * 打地基
     */
    public abstract void buildBasic();

    /**
     * 砌墙
     */
    public abstract void buildWalls();

    /**
     * 封顶
     */
    public abstract void buildRoofed();


    public void build() {
        buildBasic();
        buildWalls();
        buildRoofed();
    }


}
